package com.changgou.service;

/**
 * @ProjectName: changgou_parent
 * @Package: com.changgou.service
 * @ClassName: ESManagerService
 * @Author: 孙明田
 * @Description:
 * @Date: 2020/6/19 15:50
 * @Version: 1.0
 */
public interface ESManagerService {

    //创建索引结构
    void createIndexAndMapping();

    //将所有数据导入
    void importAll();

    //根据spuId查询skuList，导入到索引库
    void importDataBySpuId(String spuId);

    //根据spuId查询skuList，删除索引库中对应的数据
    void deleteDataBySpuId(String spuId);
}
